package guestbook.gin;

import guestbook.rest.ApiGuestbookEntry;
import guestbook.ui.MainPagePresenter;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.inject.client.AsyncProvider;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.gwtplatform.mvp.client.proxy.PlaceManager;

@GinModules({ AppModule.class, ApiGuestbookEntryModule.class })
public interface AppGinjector extends Ginjector {
  PlaceManager getPlaceManager();
  EventBus getEventBus();
  AsyncProvider<MainPagePresenter> getMainPagePresenter();
  
  ApiGuestbookEntry getApiGuestbookEntry();
}
